/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018-12-19 Time: 23:18
 */
import {ShowDemoValue} from "./Actions"

export const onShowDemoValue = (state = '', action) => {
  switch (action.type) {
    case ShowDemoValue: {
      return action.name;
    }
  }
  return state;
}